package cn.hxzy.mapper;

import cn.hxzy.pojo.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author songmengxin
 * @since 2021-07-31
 */
@Repository
public interface UserMapper extends BaseMapper<User> {


    @Select("SELECT * FROM user where userId=#{userId}")
    User getUserById(String userId);


}
